unit BrowDir;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ComCtrls, ShellCtrls, StdCtrls;

type
  TFBrowDir = class(TForm)
    ShellTreeView1: TShellTreeView;
    Button1: TButton;
    Button2: TButton;
    Label1: TLabel;
    procedure Button2Click(Sender: TObject);
    procedure Button1Click(Sender: TObject);
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    RePath:boolean;
    { Public declarations }
  end;

var
  FBrowDir: TFBrowDir;

implementation

{$R *.dfm}

procedure TFBrowDir.Button2Click(Sender: TObject);
begin
  close;
end;

procedure TFBrowDir.Button1Click(Sender: TObject);
begin
  RePath:=True;
  close;
end;

procedure TFBrowDir.FormShow(Sender: TObject);
begin
RePath:=False;
end;

end.
